#include "positionlineedit.h"

PositionLineEdit::PositionLineEdit(QWidget *parent) : QLineEdit(parent)
{

}

void PositionLineEdit::receivePosition(const QPoint &point)
{
    this->setText(QString("(%1, %2)").arg(point.x()).arg(point.y()));
}
